package wowraidmanager.server.service.auction;

import java.util.ArrayList;

import org.slim3.datastore.Datastore;

import wowraidmanager.client.service.auction.RealmListService;
import wowraidmanager.server.meta.auction.RealmListMeta;
import wowraidmanager.shared.model.auction.RealmList;

public class RealmListServiceImpl implements RealmListService {

    RealmListMeta query = RealmListMeta.get();
    
    public ArrayList<RealmList> getRealmList(){
        return (ArrayList<RealmList>)Datastore.query(query).asList();
    }
    
    public void setRealmList(ArrayList<RealmList> realmListList){
        Datastore.put(realmListList);
    }
}
